View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001169 | T99X171.00 SKB Eagle | VOC | public | 2021-03-16 10:55 | 2021-03-31 09:40 |
| Reporter | (ALTech) Younkwang Jung | Assigned To | (ALTech) Younkwang Jung | Due Date | |
| Priority | high | Severity | s2-severe | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | ||
| Summary | 0001169: [Smart3/UHD4] Request confirmation for "SSL_connect error 5, errno=110 , Failed to increment eventfd by... " | ||||
| Description | Hi Kerwin SKB manager wants to know about below logs. ( I attached VoC log file ) .. 8835 02-23 07:20:55.481 W 3049 32610 DnsTlsSocket: SSL_connect error 5, errno=110 8836 02-23 07:20:55.481 E 3049 32610 DnsTlsSocket: Failed to increment eventfd by -9223372036854775808 8837 02-23 07:20:55.481 W 3049 32611 DnsTlsSocket: SSL_connect error 5, errno=110 8838 02-23 07:20:55.481 E 3049 32611 DnsTlsSocket: Failed to increment eventfd by -9223372036854775808 .. Please check the meaning of the log below and why it occurs. This log is occurring a lot when I checked the voc logs. Thanks YK.Jung | ||||
| Tags | No tags attached. | ||||
| Attach Tags | |||||
|
|
|
|
|
Hi Mr. YK Jung, First, I think you may know about "DNS over TLS". This feature is added since Android 9 by Google to protect DNS queries. In the log, the PID '3049' is Android netd service. It tried to connect to DNS server over TLS but failed. "error 5" is the error message by SSL_connect. (#define SSL_ERROR_SYSCALL 5) And "errno 110" means timeout. You can check part of source code as below: int ret = SSL_connect(ssl.get()); ALOGV("%u SSL_connect returned %d", mMark, ret); if (ret == 1) break; // SSL handshake complete; const int ssl_err = SSL_get_error(ssl.get(), ret); switch (ssl_err) { case SSL_ERROR_WANT_READ: if (waitForReading(fd) != 1) { ALOGW("SSL_connect read error: %d", errno); return nullptr; } break; case SSL_ERROR_WANT_WRITE: if (waitForWriting(fd) != 1) { ALOGW("SSL_connect write error"); return nullptr; } break; default: ALOGW("SSL_connect error %d, errno=%d", ssl_err, errno); return nullptr; } I also add test code to know the targeted server IP of DNS over TLS. They are SKB's DNS server so I think it should be OK. ( 121.125.25.110, 211.44.250.88) Thanks ! |
|
|
Hi kerwin I have a question. then is there no operational problem even if this error or debug log occurs? If an error occurs in the DNS over TLS , do Android system use simple DNS? Thanks!! YK.Jung |
|
|
Hi Mr. YK Jung, It will fall back to usual DNS on port 53. I share a document from Google for your reference. (https://developers.google.com/speed/public-dns/docs/using#android) You can know more details about it. >>>>> For more information see the Android blog post announcing the feature. Please note that in Android P, the default mode for Private DNS is "Automatic" which means it uses the network specified DNS server and it attempts a TLS connection to port 853 before falling back to UDP on port 53. |
|
|
Hi Kerwin Thank you for the information. I will close this issue Thank you YK.Jung |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-03-16 10:55 | (ALTech) Younkwang Jung | New Issue | |
| 2021-03-16 10:55 | (ALTech) Younkwang Jung | Status | new => assigned |
| 2021-03-16 10:55 | (ALTech) Younkwang Jung | Assigned To | => (SW) Kerwin Chen |
| 2021-03-16 10:55 | (ALTech) Younkwang Jung | File Added: 28cdc4f87824.zip | |
| 2021-03-17 08:20 | (SW) Kerwin Chen | Note Added: 0006409 | |
| 2021-03-17 08:20 | (SW) Kerwin Chen | Assigned To | (SW) Kerwin Chen => (ALTech) Younkwang Jung |
| 2021-03-17 08:20 | (SW) Kerwin Chen | Status | assigned => acknowledged |
| 2021-03-17 15:13 | (ALTech) Younkwang Jung | Note Added: 0006425 | |
| 2021-03-17 15:14 | (ALTech) Younkwang Jung | Note Edited: 0006425 | View Revisions |
| 2021-03-17 15:43 | (SW) Kerwin Chen | Note Added: 0006426 | |
| 2021-03-31 09:40 | (ALTech) Younkwang Jung | Note Added: 0006535 | |
| 2021-03-31 09:40 | (ALTech) Younkwang Jung | Status | acknowledged => closed |
| 2021-03-31 09:40 | (ALTech) Younkwang Jung | Resolution | open => fixed |